package homework7;
import homework7.Air.HairAirConditioner;
import homework7.Air.TclAirConditioner;
import homework7.TV.HairTV;
import homework7.TV.TCLTV;
public class FactoryDemo {
    public static void main(String[] args) {
        HairTV hairTV = new HairTV();
        hairTV.play();
        TCLTV tcltv  =new TCLTV();
        tcltv.play();
        HairAirConditioner hairAirConditioner = new HairAirConditioner();
        hairAirConditioner.changeTemperature();
        TclAirConditioner tclAirConditioner  =new TclAirConditioner();
        tclAirConditioner.changeTemperature();
    }
}
